$OpenBSD: patch-xlgui___init___py,v 1.2 2013/01/11 10:17:19 giovanni Exp $
--- xlgui/__init__.py.orig	Thu Nov 15 18:28:50 2012
+++ xlgui/__init__.py	Thu Jan  3 18:01:36 2013
@@ -346,7 +346,6 @@ class Main(object):
 
         # save open tabs
         self.main.playlist_notebook.save_current_tabs()
-        gtk.gdk.threads_leave()
 
     @guiutil.idle_add()
     def add_device_panel(self, type, obj, device):
